home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Frameworks / Grant's CGI Framework 1.0b14 / Apple Events / AEFunc.h < prev    next >
C/C++ Source or Header  |  1996-04-12  |  1KB  |  40 lines

  1. #pragma once
  2. /*****
  3.  *
  4.  *    AEFunc.h
  5.  *
  6.  *    This is a support file for "Grant's CGI Framework".
  7.  *    Please see the license agreement that accompanies the distribution package
  8.  *    for licensing details.
  9.  *
  10.  *    Copyright ©1995,1996 by Grant Neufeld
  11.  *    grant@acm.com
  12.  *    http://arpp.carleton.ca/grant/
  13.  *
  14.  *****/
  15.  
  16. /***  CONSTANTS  ***/
  17.  
  18. #define kAEMyTimeoutInTicks        ((60*60/*1minute*/) * 3/*minutes*/)
  19.  
  20.  
  21. /***  FUNCTION PROTOTYPES  ***/
  22.  
  23.         OSErr    AEFuncGotRequiredParams    ( AppleEvent * );
  24.  
  25. pascal Boolean    AEFuncAEIdleFunc        ( const EventRecord *, long *, RgnHandle * );
  26.  
  27.         OSErr    AEGetParamString        ( const AppleEvent *, AEKeyword, char **, char *, long );
  28.         OSErr    AEGetParamStringNoAlloc    ( const AppleEvent *, AEKeyword, char *, long );
  29.         OSErr    AEGetParamShort            ( const AppleEvent *, AEKeyword, short *, char *, long );
  30.         OSErr    AEGetParamLong            ( const AppleEvent *, AEKeyword, long * );
  31.  
  32.  
  33. #if !(kCompileWithout_MY_Names)
  34. #define MyGotRequiredParams    AEFuncGotRequiredParams
  35. #define MyAEIdleFunc        AEFuncAEIdleFunc
  36. #endif
  37.  
  38.  
  39. /***** EOF *****/
  40.